﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JshRCSWebApi.Infrastructure.Domain.DTO.SysVehicle
{
    /// <summary>
    /// 请求DTO
    /// </summary>
    public class RequestDTO
    {
        /// <summary>
        /// 请求编号
        /// </summary>
        public int number {  get; set; }

        /// <summary>
        /// 请求字符串
        /// </summary> 
        public string askJson { get; set; }

        /// <summary>
        /// 机器人IP
        /// </summary>
        public string vehicleIP { get; set; }

        /// <summary>
        /// 机器人端口号
        /// </summary>
        public int vehiclePort { get; set; }
    }
    public class RequestDTO<T>
    {
        /// <summary>
        /// 请求编号
        /// </summary>
        public int number { get; set; }

        /// <summary>
        /// 请求字符串
        /// </summary> 
        public T askJson { get; set; }

        /// <summary>
        /// 机器人IP
        /// </summary>
        public string vehicleIP { get; set; }

        /// <summary>
        /// 机器人端口号
        /// </summary>
        public int vehiclePort { get; set; }
    }

}
